﻿@using MrCMS.Apps
@using MrCMS.Helpers
@using MrCMS.Website
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Mr CMS installation</title>
    <link href="~/Areas/Admin/Content/Styles/bootstrap/css/bootstrap.css" rel="stylesheet" />
    <link href="@Url.Content("~/Content/Install/style.css")" type="text/css" rel="stylesheet" />
</head>
<body>
    <div class="container">
        <div class="row">
            <div class="col-lg-12">
                <img src="~/Areas/Admin/Content/Images/logo.png" class="margin-top-10" /> <br /><p class="margin-top-10">
    To complete this wizard you must know some information regarding your database server
    ("connection string"). Please contact your ISP if necessary. If you're installing
    on a local machine or server you might need information from your System Admin.
</p>
            </div>
        </div>
        <br />
        @RenderBody()

        <footer>
            <hr />
            <p class="display-inline">
                &copy; Mr CMS 2012-@CurrentRequestData.Now.Year - v@(Html.AssemblyVersion()) - Installed apps: @MrCMSApp.CurrentAppSummary
                <span class="pull-right" style="margin-right: 20px;">Logged in from @CurrentRequestData.CurrentContext.GetCurrentIP()</span>
            </p>
        </footer>

        <div id="throbber">
            <div class="curtain">
            </div>
            <div class="curtain-content">
                <div>
                    <h1 id="setUpHeader">Installing Mr CMS...</h1>
                    <p>
                        <img src="@Url.Content("~/content/install/images/install-synchronizing.gif")" alt="" />
                    </p>
                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
    <script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.13.1/jquery.validate.min.js"></script>
    <script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/mvc/5.0/jquery.validate.unobtrusive.min.js"></script>
    <script src="@Url.Content("~/Content/install/scripts/install.js")" type="text/javascript"> </script>
</body>
</html>
